<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>信息系统 - 管理后台</title>

    <!-- BootStrap css-->
    <link href="<?php echo base_url('public/css/bootstrap.min.css') ?>" rel="stylesheet" type="text/css">
    <!-- Custom css -->
    <link href="<?php echo base_url('public/css/admin-style.css') ?>" rel="stylesheet" type="text/css">
    <!-- jquery-->
    <script src="<?php echo base_url('public/js/jquery-1.9.1.min.js') ?>" type="text/javascript"></script>
    <!-- Bootstrap js -->
    <script src="<?php echo base_url('public/js/bootstrap.min.js') ?>" type="text/javascript"></script>

</head>
<body>
<div class="container-fluid">
    <div class="page-header">
        <h1> 信息系统
            <small> - 管理后台</small>
        </h1>
    </div>
    <div class="row-fluid">
        <!-- 侧栏 -->
        <div class="span2" id="sidebar">
            <div class="main-block">
                <h4>
                    <span><b class="text-warning"><?php echo $this->session->userdata('admin_name')?>，你好</b></span>
                </h4>
                <hr>
                <ul class="nav nav-list">
                    <?php if (!isset($id)) {
                        $id = null;
                    } /* 导航栏指示 */
                    ?>
                    <li class="nav-header">管理后台</li>
                    <li><a href="<?php echo base_url('admin/logout') ?>">退出</a></li>
                    <li class="nav-header">管理账号</li>
                    <li class="<?php echo ($id === 'user') ? 'active' : '' ?>"><a href="<?php echo base_url('admin/userList') ?>">账号列表</a></li>
                    <li class="nav-header">其他设置</li>
                    <li class="<?php echo ($id === 'updatepw') ? 'active' : '' ?>"><a href="<?php echo base_url('admin/changeUserView/admin') ?>">密码修改</a></li>
                </ul>
            </div>
        </div>
        <div class="span10">
            <div class="main-block">